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

Color not showing on index, detail or edit #5

Open
bernhardh opened this issue Jul 26, 2021 · 0 comments
Open

Color not showing on index, detail or edit #5

bernhardh opened this issue Jul 26, 2021 · 0 comments

Comments

@bernhardh
Copy link

bernhardh commented Jul 26, 2021

Hello,

I am using your package like this:

Swatches::make('Color')
    ->colors('text-advanced')
    ->withProps([
        'show-fallback' => true,
        'fallback-type' => 'input',
        'popover-to' => 'left',
        // More options at https://saintplay.github.io/vue-swatches/api/props.html
    ]),

On create, if looks like its working. Starting with this:

image

and after I select the color it is shown correct:

image

But on index or detail, the color is not showing:

image

or detail:

image

When clicking on the boxes, the correct color is copied to clipboard.

On edit, I don't see the field box, but I can click on it and after select the color and box is shown.

Peek.2021-07-26.10-29.mp4
@bernhardh bernhardh changed the title Color not showing on index Color not showing on index, detail or edit Jul 26, 2021
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

No branches or pull requests

1 participant