Skip to content

Typecasting not advisable for Links #2015

@mkrecek234

Description

@mkrecek234

Steps to reproduce:

  1. You have a table and add a Link decorator that uses the integer id and you have thousandSeparator set to . and an id like 123.456.
  2. Click that link.

The id is typecasted in the link, but it should not, $this is a grid:

        $this->addDecorator('order_doc_no', [\Atk4\Ui\Table\Column\Link::class,
            'url' => 'salesorderdoc.php?odaction=edit&odid={$id}']);

Expected result: Open http://salesorderdoc.php?odaction=edit&odid=123456`
Current Result: Open http://salesorderdoc.php?odaction=edit&odid=123.456`

Otherwise $app->stickyGet('odid') will return a string which it should.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions