Content
@
0 reply
4 recasts
4 reactions
Varun Srinivasan
@v
Text Input for Frames! A new spec to add an input field. Feedback welcome! https://warpcast.notion.site/Frames-Text-Input-27c9f0d61903486d89b6d932dd0d6a22?pvs=74
24 replies
18 recasts
158 reactions
df
@df
lgtm! only note would be perhaps „label” or „placeholder” is more consistent to web devs than „text” which may be mistaken for a default value
1 reply
0 recast
2 reactions
Varun Srinivasan
@v
the current meta tag serves two functions 1) add a text input 2) give it a label so the "text" in the prop name refers to function (1), which makes the placeholder/label function less clear not sure if there is a good way to resolve without requiring label in a secondary tag
1 reply
0 recast
3 reactions
df
@df
Ah I see. So if eventually there was an input type number you’d make it „fc:frame:input:number” and „0136” feels a bit like overloading onto one property as a shorthand that might be confusing down the road when theres other properties of the input. Would map to html attributes as closely as possible
0 reply
0 recast
3 reactions