On 9/20/16, 11:43 AM, "OK" wrote:
>Thanks Peter and Alex, I'll try to implement it. It's probably a good
>exercise.
>I'll start with studying the existing code... we'll see... don't expect
>too
>much ;-)
Hi Olaf,
Thanks for volunteering. I don't remember how familiar
Thanks Peter and Alex, I'll try to implement it. It's probably a good
exercise.
I'll start with studying the existing code... we'll see... don't expect too
much ;-)
Thanks,
Olaf
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation
If you use beads, the JS code in the bead would add "require", for
example, to the element, but the SWF code might be empty since
there is nothing on the SWF side to support a required input field. One
day you or someone might fill in that SWF code block.
If you use beads, the developer would
ion works and also have to add the
properties to the TextInput component to make sure that the JS version
works?
Thanks,
Olaf
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13592.html
Sent from the Apache Flex Users mailing lis
Yes, beads would be a good thing, but IMO, it is only necessary for the
COMPILE::SWF code, since it is the SWF code that doesn't have built-in
functionality to rely on. Because we have a regular
org.apache.flex.html.TextInput that can serve as the baseline for folks
who don't need these form
Hi,
If you want to make this modification you should do it in the HTML5
project. Keep in mind that "required" and "pattern" should be implemented
for SWF as well or at least do something suitable. I would suggest using
beads:
The beads would then have their JS code all
>Want to make it happen?
I could give it a first try tonight.
Any help how to achieve this is appreciated ;-)
Thanks,
Olaf
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13585.html
Sent from the Apache Flex Us
On 9/20/16, 12:00 AM, "OK" wrote:
>Alex Harui wrote
>> What APIs are you referring to?
>
>My understanding is that FlexJS converts "org.apache.flex.html5.TextInput"
>to "".
>The html5 "" element provides an "required" and "pattern" attribute
>[1][2].
>So the question is
makes sense (and if it would be possible) to make
all these html5 "build in" attributes available as properties in
"org.apache.flex.html5.TextInput".
Thanks,
Olaf
[1]
[2] https://codepen.io/ok-at-codepen/pen/pEEmKj
--
View this message in context:
http://apache-flex-users.246.n4
On 9/19/16, 11:41 AM, "OK" wrote:
>Thanks Peter, found the PasswordInputBead.
>I wonder if there's any way do tell FlexJS to just use the html5 build in
>validation features?
What APIs are you referring to? At least for now, the components in the
HTML.swc should not
That I don't know. If it is something possible with JavaScript, then you
could code that within COMPILE::JS { }
block.
‹peter
On 9/19/16, 2:41 PM, "OK" wrote:
>Thanks Peter, found the PasswordInputBead.
>I wonder if there's any way do tell FlexJS to just use the html5
Thanks Peter, found the PasswordInputBead.
I wonder if there's any way do tell FlexJS to just use the html5 build in
validation features?
Thanks,
Olaf
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13579.html
Sent from
as required
using FlexJS?
Thanks,
Olaf
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577.html
Sent from the Apache Flex Users mailing list archive at
Nabble.com<http://Nabble.com>.
Hi,
is there already any chance to validate input fields and mark it as required
using FlexJS?
Thanks,
Olaf
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577.html
Sent from the Apache Flex Users mailing list archive
14 matches
Mail list logo