[Ur] textbox disabled and readonly attrs
Julian Squires
julian at cipht.net
Sat May 16 16:40:32 EDT 2015
Unfortunately with this approach you can still focus and interact with
the elements via keyboard (and you lose the browser's default styling
for disabled elements). I have also been thinking of adding the
disabled attribute to inputAttrs (and fieldset). It would be nice if
there was a less-convoluted way to control it than wrapping the
relevant fieldset in a dyn tag, but I guess that's not so bad.
On Sat, May 16, 2015 at 10:14 AM, Todd Roth <toddjroth at gmail.com> wrote:
> Thanks. The following CSS worked
>
> input.disabled {
> pointer-events:none;
> }
>
>
>> On May 16, 2015, at 9:39 AM, Adam Chlipala <adamc at csail.mit.edu> wrote:
>>
>> Is there a CSS way to set those properties? If so, that would be the preferred method.
>>
>> On 05/16/2015 09:38 AM, Todd Roth wrote:
>>> Hello,
>>>
>>> Looking through the basis.urs file it looks like the readonly and disabled attributes can’t be set on a textbox element. Is there a workaround for this?
>>>
>>> Thanks,
>>> Todd
>>
>> _______________________________________________
>> Ur mailing list
>> Ur at impredicative.com
>> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
>
>
> _______________________________________________
> Ur mailing list
> Ur at impredicative.com
> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
--
Julian Squires
More information about the Ur
mailing list