Subscribe on changes!

Make disabled attribute on form inputs behave like in 2.x

avatar
Oct 25th 2021

What problem does this feature solve?

I totally get the point of Enumerated attributes, however I think it's weird and unintuitive to write that everytime I need to disable a native HTML input

<input :disabled="isDisabled || null"> 

Because of how disabled="false" behaves, the following doesn't make the input enabled.

<input disabled="false"> 

What does the proposed API look like?

Just keep this for native HTML inputs and related tags

<input :disabled="isDisabled"> 
avatar
Oct 25th 2021

Closing this, I can't reproduce anymore, there was probably something wrong in what I did, I do have the expected behavior now.

avatar
Oct 25th 2021

For the next time: please don't open issues without a reproduction.