Disabled select option


I’m trying to render an option into a select (simple dropdown, NOT smart select!) with disabled attribute based on some store’s conditions. I’m going crazy with this… I’m using f7 v6. Here is my code:

	${first_condition && $h`
				<option ${condition && $h`disabled`}>text</option>

If I put ${condition && $hdisabled} into text value it works, for example… What am I doing wrong?

Please, help! :cry:

Solved this way:


You can also try with the “disabled” css class in the component

@fabricio Thanks for the reply, but it not works for select’s option…