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

MaterialTextField Choices dialog title and buttons #86

Closed
gaffkins opened this issue Feb 28, 2019 · 2 comments
Closed

MaterialTextField Choices dialog title and buttons #86

gaffkins opened this issue Feb 28, 2019 · 2 comments
Labels
enhancement New feature or request valid This issue/bug/feature request is valid

Comments

@gaffkins
Copy link

gaffkins commented Feb 28, 2019

Hi, at this moment the choice dialog title is hard fix to "Select an item". It would be nice if you could change it to dynamic value. And the buttons names :)
Best!

@gaffkins gaffkins changed the title MaterialTextField Choices dialog title MaterialTextField Choices dialog title and buttons Feb 28, 2019
@contrix09 contrix09 self-assigned this Feb 28, 2019
@contrix09 contrix09 added enhancement New feature or request valid This issue/bug/feature request is valid labels Feb 28, 2019
@contrix09
Copy link

Hi. You can now attach properties to MaterialTextField to customize the confirmation dialog to appear.

xmlns:matd="clr-namespace:XF.Material.Forms.UI.Dialogs;assembly=XF.Material.Forms"
xmlns:matdc="clr-namespace:XF.Material.Forms.UI.Dialogs.Configurations;assembly=XF.Material.Forms"
...

<material:MaterialTextField matd:MaterialConfirmationDialog.DialogConfirmingText="Confirm"
                            matd:MaterialConfirmationDialog.DialogDismissiveText="Exit"
                            matd:MaterialConfirmationDialog.DialogTitle="Select companies"
                            Choices="{Binding Companies}"
                            IsSpellCheckEnabled="False">
    <matd:MaterialConfirmationDialog.DialogConfiguration>
        <matdc:MaterialConfirmationDialogConfiguration ButtonAllCaps="False"
                                                        CornerRadius="8" />
    </matd:MaterialConfirmationDialog.DialogConfiguration>
</material:MaterialTextField>

Release will be soon.

@contrix09 contrix09 removed their assignment Sep 30, 2019
@Alfre90
Copy link

Alfre90 commented Nov 1, 2019

hi, i was trying to do what you said but i cant, i need to change materialtextfiel input choice dialog title and buttons color,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request valid This issue/bug/feature request is valid
Projects
None yet
Development

No branches or pull requests

2 participants