Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoFillGroup Control #3047

Merged
merged 8 commits into from May 9, 2024
Merged

AutoFillGroup Control #3047

merged 8 commits into from May 9, 2024

Conversation

ndonkoHenri
Copy link
Collaborator

Closes #848

Test Code:

import flet as ft

def main(page: ft.Page):
    page.add(
        ft.AutoFillGroup(
            ft.Column(
                controls=[
                    ft.TextField(
                        label="Name",
                        autofill_hints=ft.AutoFillHint.NAME,
                    ),
                    ft.TextField(
                        label="Email",
                        autofill_hints=[ft.AutoFillHint.EMAIL],
                    ),
                    ft.TextField(
                        label="Phone Number",
                        autofill_hints=[ft.AutoFillHint.TELEPHONE_NUMBER],
                    ),
                    ft.TextField(
                        label="Street Address",
                        autofill_hints=ft.AutoFillHint.FULL_STREET_ADDRESS,
                    ),
                    ft.TextField(
                        label="Postal Code",
                        autofill_hints=ft.AutoFillHint.POSTAL_CODE,
                    ),
                ]
            )
        )
    )


ft.app(main)

@FeodorFitsner
Copy link
Contributor

Great PR!

I think we need to rename AutoFillGroup everywhere to AutofillGroup (lowercase "f")?

Also, please resolve merging conflicts to make CI work.

# Conflicts:
#	packages/flet/lib/src/controls/create_control.dart
#	sdk/python/packages/flet-core/src/flet_core/__init__.py
@FeodorFitsner FeodorFitsner merged commit fb7ee1a into main May 9, 2024
2 checks passed
@ndonkoHenri ndonkoHenri deleted the auto-fill branch May 9, 2024 19:07
50Bytes-dev pushed a commit to 50Bytes-dev/flet that referenced this pull request May 18, 2024
* AutoFillHint: initial commit

* Mouse utils: lowercase before parsing

* AutoFillGroup: initial commit

* rename AutoFill to Autofill, remove opacity+visible+disabled

* content property is required

* rename AutoFillHint to AutofillHint

* Bug-fix: ExpansionPanel.bgcolor regression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AutofillGroup control
2 participants