bastihilger / nova-tiptap

Laravel Nova Tiptap Field
MIT License
172 stars 61 forks source link

JS error on details page #28

Closed alies-dev closed 4 years ago

alies-dev commented 4 years ago

Error message with stacktrace:

vendor.js?id=952176bb1b228ba530bc:1 TypeError: Cannot read property 'replace' of null
    at a.parsedValue (tiptap:2)
    at hn.get (vendor.js?id=952176bb1b228ba530bc:1)
    at hn.evaluate (vendor.js?id=952176bb1b228ba530bc:1)
    at a.parsedValue (vendor.js?id=952176bb1b228ba530bc:1)
    at a.<anonymous> (tiptap:2)
    at a.t._render (vendor.js?id=952176bb1b228ba530bc:1)
    at a.hn.before (vendor.js?id=952176bb1b228ba530bc:1)
    at hn.get (vendor.js?id=952176bb1b228ba530bc:1)
    at new hn (vendor.js?id=952176bb1b228ba530bc:1)
    at vendor.js?id=952176bb1b228ba530bc:1

image

php I use:

            Tiptap::make('Description')
                ->hideFromIndex()
                ->help('User description visible for other users'),

tiptap@1.29.4 Nova 3.10.0

bastihilger commented 4 years ago

Hi there, sorry, I cannot reproduce this error with Nova v3.11.1 and the latest nova-tiptap.

Is this still happening to you with nova-tiptap v1.1.3 ?

alies-dev commented 4 years ago

@manogi it's fixed in the latest version, thanks a lot!