You are right. I forgot to mention, I was trying to work it with
'list:string'
And it breaks the list.
On Friday, February 5, 2016 at 3:32:02 PM UTC-5, Anthony wrote:
>
> Works for me. Must be a problem somewhere else in your code.
>
> On Friday, February 5, 2016 at 3:15:27 PM UTC-5, Ron Ch
Works for me. Must be a problem somewhere else in your code.
On Friday, February 5, 2016 at 3:15:27 PM UTC-5, Ron Chatterjee wrote:
>
> Is there a similar widget that works for the string?
>
> Because when I do the following, it doesn't work
>
>
> Field(...,
> widget=lambda f,v: SQLFORM.wi
Is there a similar widget that works for the string?
Because when I do the following, it doesn't work
Field(...,
widget=lambda f,v: SQLFORM.widgets.string.widget(f, v,
_placeholder='Enter your comment here'))
On Wednesday, November 16, 2011 at 5:04:05 AM UTC-5, thodoris wrote:
>
> T
Thnx a lot!
On Nov 16, 10:42 am, Anthony wrote:
> You can use a comment instead of a default:
>
> Fields(..., comment='Enter your comment here')
>
> though that will display next to or below the input field (depending on
> your formstyle) rather than in the text box itself.
>
> As an alternat
You can use a comment instead of a default:
Fields(..., comment='Enter your comment here')
though that will display next to or below the input field (depending on
your formstyle) rather than in the text box itself.
As an alternative, you can set the HTML5 'placeholder' attribute for the
in
5 matches
Mail list logo