What problem does this feature solve?
Ability to set other button props eg. disabled, loading, htmlType etc.
What does the proposed API look like?
Expose other props from Button type
Ability to set other button props eg. disabled, loading, htmlType etc.
Expose other props from Button type
6条答案
按热度按时间0vvn1miw1#
It is not a Button actually.
ibps3vxo2#
It is a pity then because you cannot use many features like a loading indicator for a floating save button.
igetnqfo3#
Can you list all properties you want here?
bogh5gae4#
Currently, I am missing disabled, htmlType, and loading.
It would be also good to have direction='vertical' | 'horizontal' on FloatButton.Group like in other ant components.
nzk0hqpo5#
Hi, Can you provide a specific scenario to explain why you need to change the htmlType ?
hjqgdpho6#
The floating button can submit a form defined elsewhere…
On Thu, 15 Aug 2024, 18:27 lijianan, ***@***.***> wrote: Hi, Can you provide a specific scenario to explain why you need to change the htmlType ? — Reply to this email directly, view it on GitHub <#48234 (comment)>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAMGGQPZY5CHJQK3BPV2NOLZRTJGJAVCNFSM6AAAAABFTJTF3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGY3DMNBQGA > . You are receiving this because you authored the thread.Message ID: ***@***.***>